package com.youxue.entity;

import java.util.Date;

public class Comment {
    private Integer commentId;

    private Integer commentUserId;

    private Integer commentClassId;

    private String commentContent;

    private Integer commentScore;

    private String commentImg;

    private Date commentDate;

    private User commentUser;

    private Class commentClass;

    public User getCommentUser() {
        return commentUser;
    }

    public void setCommentUser(User commentUser) {
        this.commentUser = commentUser;
    }

    public Class getCommentClass() {
        return commentClass;
    }

    public void setCommentClass(Class commentClass) {
        this.commentClass = commentClass;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getCommentUserId() {
        return commentUserId;
    }

    public void setCommentUserId(Integer commentUserId) {
        this.commentUserId = commentUserId;
    }

    public Integer getCommentClassId() {
        return commentClassId;
    }

    public void setCommentClassId(Integer commentClassId) {
        this.commentClassId = commentClassId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent == null ? null : commentContent.trim();
    }

    public Integer getCommentScore() {
        return commentScore;
    }

    public void setCommentScore(Integer commentScore) {
        this.commentScore = commentScore;
    }

    public String getCommentImg() {
        return commentImg;
    }

    public void setCommentImg(String commentImg) {
        this.commentImg = commentImg == null ? null : commentImg.trim();
    }

    public Date getCommentDate() {
        return commentDate;
    }

    public void setCommentDate(Date commentDate) {
        this.commentDate = commentDate;
    }
}